/// <reference path="./jquery.d.ts" />
/// <reference path="./GameEntitys.ts" />

// Interface
interface IGameController {
    start();
}

// Module
module BattleThis {

    export class GameController implements IGameController {

        // Static member
        static version = "0.0.0.1";
        /**
        *Start the js-Engine.
        */
        start() {

            var parser = new UnitParser();
            var units = parser.parse("test");
        }
    }

    }

// Local variables
$(document).ready(function () {
    var engine: IGameController = new BattleThis.GameController();
    engine.start();
});